﻿using LINQtoFxCop.Metrics.Types;

namespace LINQtoFxCop.DomainSpecific.Examples
{
  internal sealed class SimpleThresholdOverrideTypeNbMethods : TypeNbMethods
  {
    public SimpleThresholdOverrideTypeNbMethods()
      : base("SimpleThresholdOverrideTypeNbMethods", DomainSpecificIntrospectionRule.ResourceName, DomainSpecificIntrospectionRule.Assembly)
    { }

    protected override double MetricThreshold()
    {
      return 20;
    }
  }
}